package com.jinkaimen.kqb.api;

import com.ht.baselibs.bean.BaseGetBean;
import com.jinkaimen.kqb.constant.HttpConfig;

import java.util.Map;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Multipart;
import retrofit2.http.POST;
import retrofit2.http.PartMap;

public interface FileApi {
    @POST(HttpConfig.Path.REST_FILE)
    @Multipart
    Call<BaseGetBean> uploadFileAndForm(
            @PartMap Map<String, RequestBody> params
    );
}
